<!-- Copyright 2012 Google Inc. All Rights Reserved. -->

<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
<!-- you may not use this file except in compliance with the License. -->
<!-- You may obtain a copy of the License at -->

<!--     http://www.apache.org/licenses/LICENSE-2.0 -->

<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
<!-- See the License for the specific language governing permissions and -->
<!-- limitations under the License. -->

<head>
<link rel="stylesheet" href="./style.css" type="text/css"/>
</head>
<body>

  <img class="icon" src="icon-48.png"/><span class="heading">Google Affiliate Network</span>
  <br/>
  <hr/>

  <div class="ext-body">

    <img class="adv-logo" id="advLogo" src="" />

    <div class="adv-body" id="advBody">
      <div class="adv-info" id="advInfo"> <span class="adv-name" id="advName"></span>
        <div class="adv-link" >
          <a id="advLink" href="" target="_blank">View profile
            &raquo;</a>
        </div>
      </div>
      <br/>
    </div>
        
    <div class="dl" id="dl">
      <div class="dl-heading" id="dlHeading">
        Build a Publisher-Specific Link (PSL) to this Page
      </div>
      <p/>
      <div class="dl-settings">

        <div id="relationshipDiv">
        </div>

        <p/>
        <p>Name this link (optional):</p>
        <textarea class="small-textarea" id="pslNameField"></textarea>

        <p/>
        <button type="button" id="pslButton">Generate Link!</button>
        <p/>

        <textarea class="big-textarea" id="deep_link"></textarea>

      </div>
      
    </div>
    
</body>

<script src="popup.js"></script>

</html>
